.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.message-list {
  .message-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;

    &:hover {
      background: #f8fafc;
    }

    &.unread {
      background: #f0f9ff;

      &::before {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--primary);
        position: absolute;
        left: 4px;
        margin-top: 8px;
      }
    }

    .message-content {
      flex: 1;
      min-width: 0;

      .message-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 4px;

        .sender {
          font-weight: 500;
          color: #334155;
        }

        .time {
          font-size: 12px;
          color: #64748b;
        }
      }

      .message-text {
        font-size: 14px;
        color: #475569;
        line-height: 1.4;
      }
    }
  }
} 